cc_library(
    name= 'base',
    srcs = [
        'logging.cc',
        'random.cc',
        'varint32.cc',
        'stream_wrapper.cc'
    ],
    incs = [
        '../../',
    ]
)

cc_test(
    name = 'logging_test',
    srcs = 'logging_test.cc',
    deps = [
          ':base',
    ],
    incs = [
        '../../',
    ],
)
cc_test(
    name = 'cvector_test',
    srcs = 'cvector_test.cc',
    deps = [
        ':base',
    ],
    incs = [
        '../../',
    ]
)
cc_test(
    name = 'random_test',
    srcs = 'random_test.cc',
    deps = [
        ':base',
    ],
    incs = [
        '../../',
    ],
)
cc_test(
    name = 'varint32_test',
    srcs = 'varint32_test.cc',
    deps = [
        ':base',
        '//thirdparty/protobuf:protobuf',
    ],
    incs = '../../',
)
cc_test(
    name = 'class_register_test',
    srcs = [
        'class_register_test.cc',
        'class_register_test_helper.cc',
    ],
    incs = '../../',
)


